#include <iostream>
#include <sys/types.h>
#include <signal.h>
#include <string>
using namespace std;
int main(int n, char *arr[])
{
    if (n != 3)
    {
        std::cout << "输入格式错误" << std::endl;
        exit(1);
    }
    pid_t target = std::stoi(arr[1]);
    int sig = std::stoi(arr[2]);
    kill(target, sig);
    return 0;
}